<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/vehicle/repair" aria-expanded="false">维修记录管理 </a></li>
                        <li class="active"><a href="/app/core/vehicle/repair?view=input" aria-expanded="true">添加维修记录</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                            <form class="form-horizontal">
                                <table class="table table-hover table-striped table-bordered">
                                    <tr>
                                        <td width="20%">维修车辆：</td>
                                        <td width="30%">
                                            <select id="vehicleId" name="vehicleId" class="form-control">
                                            </select>
                                        </td>
                                        <td width="20%">维修类型：</td>
                                        <td width="30%">
                                            <select id="repairType" name="repairType" class="form-control">
                                                <option value="1">洗车</option>
                                                <option value="2">保养</option>
                                                <option value="3">维修</option>
                                                <option value="4">年检</option>
                                                <option value="5">其它</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">经办人员：</td>
                                        <td width="30%">
                                            <input placeholder="经办人员" type="text" name="repairUser" id="repairUser" readonly="readonly" opt-id="repairUser" class="form-control" onclick="selectUser(this,'false');">
                                        </td>
                                        <td width="20%">维修时间：</td>
                                        <td width="30%">
                                            <input placeholder="维修时间" type="text" name="repairTime" id="repairTime" class="form-control" maxlength="20" readonly="readonly">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">维修原因：</td>
                                        <td width="30%" colspan="3">
                                            <textarea rows="5" cols="" placeholder="维修原因" id="reason" name="reason" class="form-control"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">维修供应商：</td>
                                        <td width="30%">
                                            <input placeholder="维修供应商" type="text" name="repairSupplier" id="repairSupplier" class="form-control" maxlength="100">
                                        </td>
                                        <td width="20%">维修金额：</td>
                                        <td width="30%">
                                            <input placeholder="维修金额" type="number" name="repairPay" id="repairPay" class="form-control" maxlength="10">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">相关附件：</td>
                                        <td width="80%" colspan="3">
                                            <div id="show_vechicleattach"></div>
                                            <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('vechicle','vechicleattach');" hidefocus="true"
                                                                                                                      maxlength="1" id="vechicleattach" name="vechicleattach" class="addfile" multiple="multiple"></a>
                                            <a class="addfile" style="width: 200px;" href="#" op_id="vechicleattach" onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">备注：</td>
                                        <td width="30%" colspan="3">
                                            <textarea rows="5" cols="" placeholder="备注" id="remark" name="remark" class="form-control"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4" align="center">
                                            <a id="applyBtn" href="javascript:void(0);" class="btn btn-primary">添&nbsp;&nbsp;加</a>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/vechicle/vehiclerepair.js"></script>
</body>
</html>
